package com.cherrypt.api.model.dataobject;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

@Getter
@Setter
@ToString
public class CategoryQuality {
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private QualityItem resolution;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private QualityItem codec;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private QualityItem medium;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private QualityItem audio;
}


@Getter
@Setter
@ToString
class QualityItem {
    private String name;
    private List value;
}
